import request from '@/utils/request'

// 查询客户端帐号列表
export function listUser(query) {
  return request({
    url: '/client/user/list',
    method: 'get',
    params: query
  })
}

// 重制密码
export function initPassword(data) {
  return request({
    url: '/client/user/initPassword',
    method: 'post',
    data: data
  })
}

// 删除客户端帐号
export function delUser(id) {
  return request({
    url: '/client/user/' + id,
    method: 'delete'
  })
}
